package ecode

import (
	"github.com/zhufuyi/sponge/pkg/errcode"
)

// tkAppletJumpLog http service level error code
// each resource name corresponds to a unique number (http type), the number range is 1~100, if there is the same number, trigger panic
var (
	tkAppletJumpLogNO       = 72
	tkAppletJumpLogName     = "tkAppletJumpLog"
	tkAppletJumpLogBaseCode = errcode.HCode(tkAppletJumpLogNO)

	ErrCreateTkAppletJumpLog      = errcode.NewError(tkAppletJumpLogBaseCode+1, "failed to create "+tkAppletJumpLogName)
	ErrDeleteByIDTkAppletJumpLog  = errcode.NewError(tkAppletJumpLogBaseCode+2, "failed to delete "+tkAppletJumpLogName)
	ErrDeleteByIDsTkAppletJumpLog = errcode.NewError(tkAppletJumpLogBaseCode+3, "failed to delete by batch ids "+tkAppletJumpLogName)
	ErrUpdateByIDTkAppletJumpLog  = errcode.NewError(tkAppletJumpLogBaseCode+4, "failed to update "+tkAppletJumpLogName)
	ErrGetByIDTkAppletJumpLog     = errcode.NewError(tkAppletJumpLogBaseCode+5, "failed to get "+tkAppletJumpLogName+" details")
	ErrListByIDsTkAppletJumpLog   = errcode.NewError(tkAppletJumpLogBaseCode+6, "failed to list by batch ids "+tkAppletJumpLogName)
	ErrListTkAppletJumpLog        = errcode.NewError(tkAppletJumpLogBaseCode+7, "failed to list of "+tkAppletJumpLogName)
	// error codes are globally unique, adding 1 to the previous error code
)
